<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8"/>
    <meta name="format-detection" content="telephone=no"/>
    <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
    <!--<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />-->
    <meta name="viewport" content="width=400; user-scalable=no"/>
   <!-- <link rel="stylesheet" type="text/css" href="jb/themes/jquery.mobile.structure-1.4.5.min.css"/>
    <link rel="stylesheet" type="text/css" href="jb/themes/jquery.mobile.skyd-1.4.5.min.css"/>
    <link rel="stylesheet" type="text/css" href="jb/themes/jquery.mobile.icons-1.4.5.min.css"/>-->
    <!--<link rel="stylesheet" type="text/css" href="jb/jquery.mobile-1.4.5.min.css"/>-->
    <link href="images/oa.ico" rel="SHORTCUT ICON">
    <link rel="stylesheet" type="text/css" href="jb/jquery.mobile-1.4.5.min.css"/>
    <link rel="stylesheet" type="text/css" href="jb/jqmskyd/skyd.css"/>
    <link rel="stylesheet" type="text/css" href="jb/jqmskyd/jquery.mobile.icons.min.css"/>
    <link rel="stylesheet" type="text/css" href="css/index.css"/>
    <script type="text/javascript" src="jb/jquery.min.js"></script>
    <script type="text/javascript" src="jb/jquery.mobile-1.4.5.min.js"></script>
    <script type="text/javascript" src="jslib/jqueryform.js"></script>
    <!--<script type="text/javascript" src="jslib/hammer.js"></script>-->
    <script type="text/javascript" src="jslib/iscroll.js"></script>
    <script type="text/javascript" src="js/commontools.js"></script>
    <script type="text/javascript" src="js/jbtool.js"></script>
    <script type="text/javascript" src="js/app.js"></script>
    <script type="text/javascript" src="js/user.js"></script>
    <script type="text/javascript" src="js/yewu.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=W6eQXHTZjNf7QTG9k9Mpboez"></script>
    <script type="text/javascript" src="js/mymapsuper.js"></script>
    <title>部门管理</title>
    <style type="text/css">
        .mappointer{
            position: absolute;
            height: 50px;
            width: 50px;
            background-size: 50px 50px;
        }
    </style>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data" id="uploadForm">
    <input style="display: none;" id="selectimginput" onchange="showPicImg(this.files);" name="file" type="file"/>
</form>
<form action="" method="post" enctype="multipart/form-data" id="uploadForm2">
    <input style="display: none;" id="selectimginput2" onchange="showPicImg2(this.files);" name="file" type="file"/>
</form>
<!--用户模块---------------------------------------------------------------------------------->
<div data-role="page" data-control-title="Login" id="loginpage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            用户登陆
        </h1>
    </div>
    <div role="main" class="ui-content">
        <form id="loginform" name="loginform">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    用户名:
                </label>
                <input id="lusername" name="username" placeholder="请输入用户名" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    密码:
                </label>
                <input id="lpasswd" name="passwd" placeholder="" value="请输入密码" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label for="remember">
                    自动登陆：
                </label>
                <select name="remember" id="remember" data-theme="" data-role="slider">
                    <option value="0">
                        Off
                    </option>
                    <option selected="selected" value="1">
                        On
                    </option>
                </select>
            </div>
        </form>
        <a href="#" onclick="login();" class="ui-btn ui-btn-h">
            登陆
        </a>
        <a href="#" onclick="toRegister();" class="ui-btn ui-btn-h">
            注册
        </a>
        <a style="float: right;" href="#" onclick="toForget();">忘记密码</a>
    </div>
</div>

<div data-role="page" data-theme="r" data-control-title="Register" id="registerpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            快速注册
        </h1>
    </div>
    <div role="main" class="ui-content">
        <form id="registerform">
            <!--<div  class="ui-field-contain" data-controltype="textinput">
                <label>
                    头像：
                </label>
                <img  id="rmyImage2" src="" style="width: 50%;" >
                <a href="#" onclick="getFilePic(0,'rmyImage2');" class="ui-btn ui-btn-c">
                    选择图片
                </a>
               <a href="#" onclick="getFilePic(1,'rmyImage2');" class="ui-btn ui-btn-c">
                    拍照
                </a>
            </div>-->
            <div style="text-align: center;">
                <div></div>
                <a href="#" onclick="getFileInput(this);">选择头像</a>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    用户名:
                </label>
                <input name="username" placeholder="必填" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    姓名:
                </label>
                <input name="fname" placeholder="必填" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    密码:
                </label>
                <input name="passwd" placeholder="必填" value="" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    密码重复:
                </label>
                <input name="passwd2" placeholder="必填" value="" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    电话:
                </label>
                <input name="tel" placeholder="必填" value="" type="number">
            </div>
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    姓名:
                </label>
                <input name="fname" placeholder="必填" value="" type="text">
            </div>-->
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    员工职务:
                </label>
                <input name="nianji" placeholder="必填" value="" type="text">
            </div>-->
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    学院:
                </label>
                <input name="yuanxi" id="yuanxi" type="text"/>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    专业:
                </label>
                <input name="zhuanye" id="zhuanye" type="text"/>
            </div>-->

            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    地址:
                </label>
                <input name="address" placeholder="必填" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    QQ:
                </label>
                <input name="qq" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    微信:
                </label>
                <input name="wechat" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    邮箱:
                </label>
                <input name="email" placeholder="" value="" type="email">
            </div>
            <div class="ui-field-contain" data-controltype="dateinput">
                <label>
                    生日:
                </label>
                <input name="birth" placeholder="" value="" type="date">
            </div>
            <div class="ui-field-contain" data-controltype="selectmenu">
                <label>
                    身份:
                </label>
                <select name="roletype">
                    <option value="2">
                        员工
                    </option>
                    <option value="3">
                        部门领导
                    </option>
                </select>
            </div>
            <div class="ui-field-contain" data-controltype="selectmenu">
                <label>
                    性别:
                </label>
                <select name="sex">
                    <option value="男">
                        男
                    </option>
                    <option value="女">
                        女
                    </option>
                </select>
            </div>
        </form>
        <a href="#" onclick="register();" class="ui-btn ui-btn-c">提交</a>
        <a href="#" onclick="toLogin();" class="ui-btn ui-btn-c">取消</a>
    </div>
</div>

<div data-role="page" data-theme="r" data-control-title="Userinfo" id="userinfopage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
              个人信息
        </h1>
        <a href="#" onclick="editUserInfo();" data-icon="edit" data-iconpos="left" class="ui-btn ui-btn-right ui-icon-edit ui-btn-icon-left">
            修改
        </a>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="userform">

            <div id="gereninfo" class="ui-field-contain" data-controltype="textinput">
                <label id="vusername">
                    用户名:
                </label>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    姓名:
                </label>
                <input name="fname" id="fname1" placeholder="必填" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    员工职务:
                </label>
                <input name="nianji" placeholder="必填" value="" type="text">
            </div>
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    学院:
                </label>
                <input name="yuanxi" id="vyuanxi" type="text"/>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    专业:
                </label>
                <input name="zhuanye" id="vzhuanye" type="text"/>
            </div>-->
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    电话:
                </label>
                <input name="tel" id="vtel" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    QQ:
                </label>
                <input name="qq" id="vqq" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    微信:
                </label>
                <input name="wechat" id="vwechat" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    邮箱:
                </label>
                <input name="email" id="vemail" placeholder="" value="" type="email">
            </div>
            <div class="ui-field-contain" data-controltype="dateinput">
                <label>
                    生日:
                </label>
                <input name="birth" id="vbirth" placeholder="" value="" type="date">
            </div>
            <div class="ui-field-contain" data-controltype="selectmenu">
                <label>
                    性别:
                </label>
                <select name="sex" id="vsex">
                    <option value="男" selected="selected">
                        男
                    </option>
                    <option value="女">
                        女
                    </option>
                </select>
            </div>
        </form>
        <div id="editbutton" style="display: none">
            <a href="#" onclick="updateUserInfo();" class="ui-btn ui-btn-c">提交</a>
            <a href="#" onclick="goback();" class="ui-btn ui-btn-c">取消</a>
        </div>
    </div>
</div>

<div data-role="page" data-theme="r" data-control-title="ChangePasswd" id="passwdpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
                 修改密码
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-edit ui-btn-icon-left">
                  返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="passwdform">
            <div class="ui-field-contain" data-controltype="textinput">
                <label id="pusername">
                    用户名:
                </label>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    原始密码:
                </label>
                <input name="oldpasswd" placeholder="" value="" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    新密码
                </label>
                <input name="passwd" placeholder="" value="" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    密码重复
                </label>
                <input name="passwd2" placeholder="" value="" type="password">
            </div>
        </form>
        <a href="#" onclick="changePasswd();" class="ui-btn ui-btn-c">提交</a>
        <a href="#" onclick="goback();" class="ui-btn ui-btn-c">取消</a>
    </div>
</div>


<div data-role="page" data-theme="r" id="forgetpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            忘记密码
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-edit ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="forgetform">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    用户名:
                </label>
                <input name="username" placeholder="" value="" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    新密码
                </label>
                <input name="passwd" placeholder="" value="" type="password">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    密码重复
                </label>
                <input name="passwd2" placeholder="" value="" type="password">
            </div>
        </form>
        <a href="#" onclick="forgetPasswd();" class="ui-btn ui-btn-c">提交</a>
    </div>
</div>




<!--<div data-role="page" data-theme="r" id="addresspage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            计划列表
        </h1>
        <a href="#" onclick="toAddressMg();" data-iconpos="left" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            新增
        </a>
        <a href="#" onclick="toMain();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="addresss" data-role="listview" data-inset="false"  data-split-icon="delete">

        </ul>
    </div>
</div>

<div data-role="page" data-theme="r" id="addressmgpage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            计划管理
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="addressform">
            <input name="action" id="addressaction" type="hidden">
            <input name="id" id="addressid" type="hidden">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    标题:
                </label>
                <input name="title" id="title" placeholder="" value="" type="text">
                <label>
                    内容:
                </label>
                <input name="note" id="note" placeholder="" value="" type="text">
            </div>
        </form>

        <a href="#" onclick="saveAddress();" class="ui-btn ui-btn-c">保存</a>
    </div>
</div>-->
<!--用户模块结束--------------------------------------------------------------------------------------------------------------------------------------->
<!--部门管理-->
<div data-role="page" data-theme="r" id="qunmgpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <h1 class="ui-title">
            部门管理
        </h1>
        <a href="#" onclick="toAddQunzu();" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            创建
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="myqunzuadminlist" data-role="listview" data-theme="r" data-inset="true" data-split-theme="h" data-split-icon="comment">

        </ul>
    </div>
    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toShetuanmg();" data-icon="home">部门管理</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>

</div>


<!--创建部门-->
<div data-role="page" data-control-title="Login" id="qunzumgpage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            创建部门
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="qunzuform">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    名称:
                </label>
                <input name="title" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    部门代码:
                </label>
                <input name="daima" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    上课时间:
                </label>
                <input name="shijian" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    上课地点:
                </label>
                <input name="didian" type="text">
            </div>
            <div  class="ui-field-contain" data-controltype="textinput">
                <!--<label>
                    配图：
                </label>
                <img  id="rmyImage5" src="" style="width: 50%;" >
                <a href="#" onclick="getFilePic(0,'rmyImage5');" class="ui-btn ui-btn-c">
                    选择图片
                </a>-->

                <!--<div style="text-align: center;">
                    <div></div>
                    <a href="#" onclick="getFileInput(this);">选择logo</a>
                </div>-->
            </div>

            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    负责人:
                </label>
                <select name="uid" id="quid">

                </select>
            </div>-->
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    加入要求:
                </label>
                <textarea name="yaoqiu" type="text"></textarea>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    部门历史:
                </label>
                <textarea name="lishi" type="text"></textarea>
            </div>-->
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    介绍:
                </label>
                <textarea name="note"></textarea>
            </div>
        </form>
        <a href="#" onclick="saveQunzu();" class="ui-btn ui-btn-c">
            确定
        </a>
    </div>
</div>


<div data-role="page" data-theme="r" id="qunpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            我的部门
        </h1>
        <a href="#" onclick="toSearchQunzu();" class="ui-btn ui-btn-left ui-icon-search ui-btn-icon-left">
            查找
        </a>
        <a href="#" onclick="toAddQunzu();" class="teacher ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            添加
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="myqunzulist" data-role="listview" data-theme="r" data-inset="true" data-split-theme="h" data-split-icon="comment">

        </ul>
    </div>
    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toNotice();" data-icon="home">首页</a></li>
                <li><a href="javascript:toShetuan();" data-icon="tag">部门</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>

</div>
<div data-role="page" data-theme="r" id="webcontent">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title" id="webtitle">

        </h1>
        <a onclick="toMyFriend();" class="ui-btn ui-btn-left ui-btn-icon-left ui-icon-back">
            返回
        </a>
    </div>
    <div role="main" class="ui-content" style="margin: 0;padding: 0;">
        <iframe id="webiframe" style="height: 600px;width: 100%;">

        </iframe>
    </div>
</div>
<div data-role="page" data-theme="r" id="infopage2">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            预约会议室
        </h1>
    </div>
    <div role="main" class="ui-content">
        <form id="yuyueform">

            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    日期:
                </label>
                <input name="tdate" placeholder="必填" value="" type="date" />
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    备注:
                </label>
                <textarea name="note" placeholder="必填" ></textarea>
            </div>

        </form>
        <a href="#" onclick="tijiaoYuyue();" class="ui-btn ui-btn-c">提交</a>
    </div>
</div>


<div data-role="page" data-theme="r" id="yuyuepage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            会议室预约申请
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="yuyuelist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true">

        </ul>
    </div>

</div>

<div data-role="page" data-position="fixed" data-theme="r" id="yuyuedetailpage">
    <div data-theme="r" data-role="header">
        <h1 class="ui-title">
            详细信息
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="ytitle">
            </p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="ynote">
            </p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="yusername">
            </p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="ytdate">
            </p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="yndate">
            </p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <p id="ystatecn">
            </p>
        </div>
        <div id="approvectn">
            <select id="yystatecn">
                <option value="同意">同意</option>
                <option value="拒绝">拒绝</option>
            </select>
            <a href="#" class="ui-btn" onclick="approveYuyue();">提交</a>
        </div>

    </div>
</div>

<div data-role="page" data-theme="r" id="jiaoshipage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            会议室
        </h1>
    </div>
    <div role="main" class="ui-content">
        <ul id="jiaoshilist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true">

        </ul>
    </div>
    <div data-role="footer" data-position="fixed" style="overflow: hidden;">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toNotice();" data-icon="home">首页</a></li>
                <li><a href="javascript:toJiaoshi();" data-icon="heart">会议室</a></li>
                <li><a href="javascript:toShetuan();" data-icon="tag">部门</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>
</div>

<div data-role="page" data-position="fixed" data-theme="r" id="jiaoshidetailpage">
    <div data-theme="r" data-role="header">
        <h1 class="ui-title">
            会议室详细
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vtitle2">
                标题:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vnote2">
                内容:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <a href="#" class="ui-btn" onclick="tijiao();">预约</a>
        </div>
    </div>
</div>


<div data-role="page" data-theme="r" id="noticepage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            首页
        </h1>
    </div>
    <div role="main" class="ui-content">
        <!--<div style="text-align: center;">
            <img src="images/xuexiao.jpg" style="width: 100%" alt="">
        </div>-->
        <!--<p>
            九江学院是经国家教育部批准设立的国有公办全日制本科普通高等院校，办学历史可上溯至1901 年美国基督教卫理公会创办的但福德医院护士学校，现办学体制为“省市共建、以市为主”
        </p>
        <p>电话:0792-8310030 8310031</p>-->
        <ul id="noticelist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true">

        </ul>
    </div>
    <div data-role="footer" data-position="fixed" style="overflow: hidden;">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toNotice();" data-icon="home">首页</a></li>
                <li><a href="javascript:toJiaoshi();" data-icon="heart">会议室</a></li>
                <li><a href="javascript:toShetuan();" data-icon="tag">部门</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>
</div>


<div data-role="page" data-theme="r" id="favpage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            我的关注
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <div data-role="navbar">
            <ul>
                <li><a class="ui-btn-active" href="javascript:listFav('_shetuan');">部门</a></li>
                <li><a href="javascript:listFav('_huodong');">活动</a></li>
            </ul>
        </div>
    </div>
    <div role="main" class="ui-content">
        <ul id="favlist" data-split-icon="delete" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true">

        </ul>
    </div>

</div>


<div data-role="page" data-position="fixed" data-theme="r" id="noticedetailpage">
    <div data-theme="r" data-role="header">
        <h1 class="ui-title">
            详细信息
        </h1>
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vtitle">
                标题:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vndate">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <img src="" id="dimg" style="width: 100%;" alt="">
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vnote">
                内容:
            </label>
        </div>
    </div>
</div>

<div data-role="page" data-theme="r" data-control-title="Register" id="qundetailpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            部门信息
        </h1>
        <a href="#qunpage" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <!--<a href="#" onclick="scanErweiCode();" data-iconpos="left" class="ui-btn ui-btn-right ui-icon-camera ui-btn-icon-left">
            扫一扫
        </a>-->
        <div data-role="navbar" id="stdt">
            <ul>
                <li><a href="#qundetailpage" class="ui-btn-cctive">部门信息</a></li>
                <li><a href="javascript:toHuodong();">留言讨论</a></li>
                <li><a href="javascript:toLuntan();">请假</a></li>
                <li><a href="javascript:toMyFriend();">通讯录</a></li>
                <li><a href="javascript:toLuntan2();">考勤</a></li>
                <!--<li><a href="javascript:toLuntan3();">会议纪要</a></li>-->
            </ul>
        </div>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="quntitle">

            </label>
        </div>

        <!--<div class="ui-field-contain" data-controltype="textinput">
            <img src="" id="qimg" style="width: 100%;">
        </div>-->

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="qundesc1">

            </label>
        </div>

        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label id="qundesc2">

            </label>
        </div>-->

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="qundesc">

            </label>
        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <a id="qusername">
            </a>
        </div>


        <div id="canbuy">
            <!--<a href="#" onclick="addToFav('_shetuan');" class="ui-btn ui-btn-c">加入关注</a>-->
            <a href="#" onclick="sendAddQunMsg();" class="ui-btn ui-btn-c">加入部门</a>
        </div>
        <div id="candel">
            <a href="#" onclick="delQunzus();" class="ui-btn ui-btn-e">退出部门</a>
        </div>
        <div id="candelshetuan">
            <a href="#" onclick="delQun();" class="ui-btn ui-btn-e">撤销部门</a>
        </div>
    </div>

</div>



<!--活动列表-->
<div data-role="page" data-theme="r" id="huodongpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            帖子列表
        </h1>
        <a href="#" onclick="toAddHuodong();" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            添加
        </a>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="huodonglist" data-role="listview" data-theme="r" data-inset="true" data-split-theme="h" data-split-icon="comment">

        </ul>
    </div>
</div>


<div data-role="page" data-control-title="Login" id="huodongmgpage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            添加帖子
        </h1>
        <a href="#" onclick="toHuodong();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="huotongform">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    标题:
                </label>
                <input name="title" type="text">
            </div>
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    时间:
                </label>
                <input name="ndate" type="date">
            </div>-->
            <div  class="ui-field-contain" data-controltype="textinput">
                <!--<div style="text-align: center;">
                    <img style="width: 100%;"/>
                    <a href="#" onclick="getFileInput(this);">选择图片</a>
                </div>-->
                <div style="text-align: center;">
                    <div></div>
                    <a href="#" onclick="getFileInput(this);">选择文件</a>
                </div>
                <!--<label>
                    配图：
                </label>
                <img  id="rmyImage6" src="" style="width: 50%;" >
                <a href="#" onclick="getFilePic(0,'rmyImage6');" class="ui-btn ui-btn-c">
                    选择图片
                </a>-->
                <!-- <a href="#" onclick="getFilePic(1,'rmyImage2');" class="ui-btn ui-btn-c">
                     拍照
                 </a>-->
            </div>

            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    描述:
                </label>
                <textarea name="note"></textarea>
            </div>
        </form>
        <a href="#" onclick="saveHuodong();" class="ui-btn ui-btn-c">
            确定
        </a>
    </div>
</div>



<div data-role="page" data-theme="r" data-control-title="Register" id="huodongdetailpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            帖子详细
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="htitle">

            </label>
        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <img style="width: 100%;" src="" id="himg">
        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="hdesc">

            </label>
        </div>

        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label id="hndate">

            </label>
        </div>-->
        <textarea id="rnote3"></textarea>
        <ul id="replays3" data-split-icon="delete" data-role="listview" data-theme="r"  data-inset="true">

        </ul>

        <div id="canin">
            <!--<a href="#" onclick="addToFav('_huodong');" class="ui-btn ui-btn-c">加入关注</a>-->
            <a href="#" onclick="addReplay3();" class="ui-btn ui-btn-c">回复</a>
        </div>
    </div>

</div>

<!------------------------------好友管理模块------------------------------------------>
<div data-role="page" data-theme="r" id="friendpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            部门成员
        </h1>
        <a href="#qundetailpage" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <!--<a href="#" onclick="toSearchFriend();" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            添加
        </a>-->
        <!--<a href="#" onclick="dianming();" class="teacher ui-btn ui-btn-right ui-icon-camera ui-btn-icon-left">
            点名
        </a>-->
    </div>
    <div role="main" class="ui-content">

        <ul id="myfriendlist" data-filter="false" data-filter-placeholder="输入关键字..." data-role="listview" data-theme="c" data-inset="true" data-split-icon="comment">

        </ul>
    </div>
    <!--<div data-role="footer" data-position="fixed" data-tap-toggle="false">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toMyFriend();" data-icon="star">我的好友</a></li>
                <li><a href="javascript:toLuntan();" data-icon="user">朋友圈</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>-->
</div>


<div data-role="page" data-theme="r" id="yzmessagelistpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            验证消息
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>


    <div role="main" class="ui-content">
        <ul id="messagelist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true" >

        </ul>
    </div>

</div>

<div data-role="page" data-theme="r" data-control-title="Register" id="yzmsgdetailpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            信息审核
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vusername4">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <img src="" id="userimg" style="width: 50%;" alt="">
        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vstatus">

            </label>
        </div>

        <div id="opctn">
            <a onclick="agreeQun();" href="#" class="ui-btn">同意</a>
            <a onclick="refuseQun();" href="#" class="ui-btn ui-btn-e">拒绝</a>
        </div>

    </div>

</div>


<div data-role="page" data-theme="r" id="addfriendpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            查找朋友
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>


    <div role="main" class="ui-content">
        <ul id="userlist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true" >

        </ul>
    </div>

</div>



<div data-role="page" data-theme="r" data-control-title="Register" id="userdetailpage">
    <div data-theme="r" data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">
            用户信息
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vusername2">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <img width="50%" id="vuserimg2">
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vbirth2">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vsex2">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vqq2">

            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vemail2">

            </label>
        </div>
        <div id="candelf">
            <a href="#" onclick="delFriend();" class="ui-btn ui-btn-e">删除成员</a>
            <!--<input type="text" id="beizhu" placeholder="输入头衔名称">
            <a href="#" onclick="beizhu();" class="ui-btn ui-btn-c">设置头衔</a>-->
        </div>

        <!--<div id="canadd">
            <a href="#" onclick="addFriend();" class="ui-btn ui-btn-c">加为好友</a>
        </div>
        <div id="candelf">
            <input type="text" id="beizhu">
            <a href="#" onclick="beizhu();" class="ui-btn ui-btn-c">备注称呼</a>
            <a href="#" onclick="delFriend();" class="ui-btn ui-btn-e">删除好友</a>
            <a href="#" onclick="toDitu();" class="ui-btn ui-btn-d">定位好友</a>
        </div>-->
    </div>
</div>
<!------------------------------好友管理模块结束------------------------------------------>

<div data-role="page" data-control-title="Login" id="luntanpage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            请假列表
        </h1>
        <a href="#qundetailpage" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <a href="#" onclick="toAddForm();" data-iconpos="left" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            新增
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="posts" data-role="listview" data-theme="r" data-inset="true">

        </ul>
    </div>

</div>


<div data-role="page" data-control-title="Login" id="fankuipage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            提交反馈
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">

        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                内容:
            </label>
            <textarea id="fnote4" name="note"></textarea>
        </div>

        <a href="#" onclick="saveFankui();" class="ui-btn ui-btn-c">
            提交
        </a>
    </div>
</div>

<div data-role="page" data-control-title="Login" id="addformpage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            发布
        </h1>
        <a href="#luntanpage" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                标题:
            </label>
            <input id="ftitle" name="title" type="text">
        </div>
        <div  class="ui-field-contain" data-controltype="textinput">
            <!--<label>
                配图：
            </label>
            <img  id="rmyImage3" src="" style="width: 100%;" >
            <a href="#" onclick="getFilePic(0,'rmyImage3');" class="ui-btn ui-btn-c">
                选择图片
            </a>
            <a href="#" onclick="getFilePic(1,'rmyImage3');" class="ui-btn ui-btn-c">
                拍照
            </a>-->
            <!--<div style="text-align: center;">
                <img style="width: 100%;"/>
                <a href="#" onclick="getFileInput(this);">选择图片</a>
            </div>-->
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                内容:
            </label>
            <textarea id="fnote" name="note"></textarea>
        </div>

        <a href="#" onclick="addForm();" class="ui-btn ui-btn-c">
            提交
        </a>
    </div>
</div>

<div data-role="page" data-control-title="Login" id="postdetail" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            查看
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vptitle">
                标题:
            </label>

        </div>
        <!--<div id="imgctn" class="ui-field-contain" data-controltype="textinput">
            <img src="" id="pimg" style="width: 100%;" onclick="ownpage(this);" alt="">

        </div>-->
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpnote">
                内容:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpusername">
                发布者:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate">
                时间:
            </label>
        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="statecnv" style="color: red;">

            </label>
        </div>



        <div class="teacher">
            <select name="statecn" id="statecn">
                <option value="审核通过">审核通过</option>
                <option value="审核退回">审核退回</option>
            </select>
            <a href="#" onclick="updatePostsStatecn();" class="ui-btn ui-btn-c">
                提交
            </a>
            <a href="#" onclick="delPosts2();" class="ui-btn ui-btn-e">
                删除
            </a>
        </div>
        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate12">
                时间:
            </label>
        </div>-->

        <!--<ul id="replays" data-role="listview" data-theme="r"  data-inset="true">

        </ul>
        <textarea id="rnote"></textarea>
        <a href="#" onclick="addReplay();" class="ui-btn ui-btn-c">
            报名
        </a>
        <div id="mypost" style="display: none;">
            <a href="#" onclick="delPosts();" class="ui-btn ui-btn-e">
                删除
            </a>
        </div>-->
    </div>
</div>


<div data-role="page" data-control-title="Login" id="mypage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            个人中心
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div style="text-align: center;"><img src="" style="width: 50%;border-radius: 15px;" id="myphoto" alt=""></div>
        <div style="text-align: center;margin-top: 10px;" ><span id="usernamel"></span></div>
        <ul data-role="listview" data-theme="r" data-inset="true">
           <!-- <li onclick="toNaozhong();">闹钟</li>-->
            <!--<li onclick="toSearch();">地址导航</li>-->
            <!--<li onclick="toMyFav();">我的关注</li>-->
            <li onclick="toAssist();">我的日程</li>
            <li onclick="toYuyue();">预约申请</li>
            <li onclick="toFankui();">信息反馈</li>
            <li onclick="toMyYanzhengMessage();">信息审核</li>
            <li onclick="myinfo();">个人信息</li>
            <li onclick="toChangePasswd();">修改密码</li>
            <!--<li onclick="mypost();">我的动态</li>-->
            <li onclick="logout();">注销登录</li>
        </ul>
    </div>
    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:toNotice();" data-icon="home">首页</a></li>
                <li><a href="javascript:toShetuan();" data-icon="tag">部门</a></li>
                <li><a href="javascript:toMyPage();" data-icon="info">个人中心</a></li>
            </ul>
        </div>
    </div>
</div>



<div data-role="page" data-theme="r" id="beiwangpage">
    <div data-role="header" data-theme="r" data-position="fixed">
        <h1 class="ui-title">
            备忘列表
        </h1>
        <a onclick="toAddBeiwang();" class="ui-btn ui-btn-right ui-btn-icon-left ui-icon-plus">
            添加
        </a>
        <a href="#" onclick="toMyPage();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="beiwanglist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview"  data-inset="true">

        </ul>
    </div>

</div>

<div data-role="page" data-theme="r" id="addBeiwangpage">
    <div data-role="header" data-theme="r" data-position="fixed">
        <h1 class="ui-title">
            添加
        </h1>
        <a onclick="toAssist();" class="ui-btn ui-btn-left ui-btn-icon-left ui-icon-back">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form id="beiwangform">
            <input type="hidden" name="action" id="jishiaction">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>标题:</label>
                <input name="title" id="title" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>内容:</label>
                <textarea name="note" id="note"></textarea>
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>提醒日期:</label>
                <input type="date" id="txdate" name="txdate">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>提醒时间:</label>
                <input type="time" id="txtime" name="txtime">
            </div>

        </form>
        <div class="ui-field-contain" data-controltype="textinput">
            <button onclick="addBeiwang();">保存</button>
        </div>
    </div>
</div>

<div data-role="page" data-theme="r" id="beiwangdetail">
    <div data-role="header" data-theme="r" data-position="fixed">
        <h1 class="ui-title">
            备忘详细
        </h1>
        <a onclick="toAssist();" class="ui-btn ui-btn-left ui-btn-icon-left ui-icon-back">
            返回
        </a>
        <!--<a onclick="toShare();" class="ui-btn ui-btn-right ui-btn-icon-left ui-icon-arrow-r">
            分享
        </a>-->
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="bwtitle"></label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="bwnote"></label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="bwndate"></label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="txdatetime"></label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <button onclick="toEditBeiwang();">修改</button>
            <button onclick="delBeiwang();" class="ui-btn-d">删除</button>
        </div>
    </div>
</div>



<div data-role="page" data-theme="r" id="qunchatpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">

        </h1>
        <a href="#" onclick="backclear();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="qunmsglist" data-role="listview" data-inset="true" >

        </ul>
        <textarea id="chatnote"></textarea>
        <button onclick="sendQunMsg();" class="ui-btn-inline">发送</button>
    </div>
</div>



<div data-role="page" data-theme="r" id="chatpage">
    <div  data-role="header" data-position="fixed" data-tap-toggle="false">
        <h1 class="ui-title">

        </h1>
        <a href="#" onclick="backclear();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content" data-role="none">

        <div id="chatdiv" class="chatdiv">
            <ul class="chatul" id="chatlist">

            </ul>
        </div>

        <div class="footer" style="height: 60px;background-color: #ebecee;">
            <textarea id="msgaarea" style="padding-right: 100px;"></textarea>
            <a href="" onclick="sendMsg();" class="ui-btn ui-btn-right ui-corner-all">发送</a>
            <button id="recordbtn" data-mini="true" data-inline="true" class="ui-btn ui-corner-all">点击录音</button>
            <button id="filebutton" data-mini="true" data-inline="true" class="ui-btn ui-corner-all">发送图片</button>
        </div>
        <!--<ul id="msglist" data-role="listview" data-inset="true" >

        </ul>
        <textarea id="chatcontent"></textarea>
        <button onclick="sendMsg();" class="" style="float: right;" data-role-mini="true" data-inline="true" >发送</button>
        <button onclick="sendMsg();" style="float: right;" data-role-mini="true" data-inline="true" >按住录音</button>
        <button onclick="sendMsg();" style="float: right;" data-role-mini="true" data-inline="true" >选择图片</button>-->
    </div>
</div>




<div data-role="page" data-theme="r" id="addQunzupage">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-position="fixed">
        <h1 class="ui-title">
            查找部门
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>


    <div role="main" class="ui-content">
        <!--<select onchange="refreshQun(this);" name="quntype" id="quntype">
            <option value="">全部</option>
            <option value="其他">其他</option>
            <option value="宿舍楼">宿舍楼</option>
            <option value="教学楼">教学楼</option>
            <option value="双学位">双学位</option>
            <option value="考研">考研</option>
            <option value="食堂">食堂</option>
            <option value="补考">补考</option>
            <option value="部门">部门</option>
        </select>-->
        <ul id="qunlist" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true" >

        </ul>
    </div>
</div>



<div data-role="page" data-theme="r" id="shetuanpage">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-position="fixed">
        <h1 class="ui-title">
            部门推荐
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>


    <div role="main" class="ui-content">
        <!--<select onchange="refreshQun(this);" name="quntype" id="quntype">
            <option value="">全部</option>
            <option value="其他">其他</option>
            <option value="宿舍楼">宿舍楼</option>
            <option value="教学楼">教学楼</option>
            <option value="双学位">双学位</option>
            <option value="考研">考研</option>
            <option value="食堂">食堂</option>
            <option value="补考">补考</option>
            <option value="部门">部门</option>
        </select>-->
        <ul id="qunlist2" data-filter="true" data-filter-placeholder="输入关键字..." data-role="listview" data-inset="true" >

        </ul>
    </div>
</div>


<div data-role="page" data-control-title="Login" id="userdetail" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            用户信息
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vusername3">
                用户名:
            </label>

        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vfname">
                姓名:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vsex4">
                性别:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vqq4">
                QQ:
            </label>
        </div>
        <div id="addfriendbtn" style="display: none;">
            <a href="#" onclick="delPosts();" class="ui-btn ui-btn-e">
                加为好友
            </a>
        </div>
        <div id="delfriendbtn" style="display: none;">
            <a href="#" onclick="delPosts();" class="ui-btn ui-btn-e">
                删除好友
            </a>
        </div>
    </div>
</div>


<div data-role="page" data-control-title="Login" id="luntanpage2" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            考勤列表
        </h1>

        <a href="#" onclick="toAddForm2();" data-iconpos="left" class="admin ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            发布
        </a>
        <a href="#qundetailpage" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="posts2" data-role="listview" data-filter="true" data-filter-placeholder="输入关键字..." data-theme="r" data-inset="true">

        </ul>
        <a href="#" onclick="toTongji();" class="ui-btn ui-btn-c">
            统计
        </a>
    </div>

</div>

<div data-role="page" data-control-title="Login" id="addformpage2" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            发布
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                标题:
            </label>
            <input id="ftitle2" name="title" type="text">
        </div>
        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label>
                分类:
            </label>
            <select name="typetitle" id="typetitle">
                <option value="课堂考勤">课堂考勤</option>
                <option value="活动考勤">活动考勤</option>
                <option value="会议考勤">会议考勤</option>
                <option value="其它">其它</option>
            </select>
        </div>-->
        <div  class="ui-field-contain" data-controltype="textinput">
            <!--<label id="path">

            </label>

            <a href="#" onclick="getFilePic(0);" class="ui-btn ui-btn-c">
                选择文件
            </a>-->
            <div  class="ui-field-contain" data-controltype="textinput">
                <!--<div style="text-align: center;">
                    <img style="width: 100%;"/>
                    <a href="#" onclick="getFileInput(this);">选择图片</a>
                </div>-->
                <!--<label>
                    配图：
                </label>
                <img  id="rmyImage4" src="" style="width: 50%;" >
                <a href="#" onclick="getFilePic(0,'rmyImage4');" class="ui-btn ui-btn-c">
                    选择图片
                </a>
                <a href="#" onclick="getFilePic(1,'rmyImage4');" class="ui-btn ui-btn-c">
                    拍照
                </a>-->
            </div>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                考勤码:
            </label>
            <textarea id="fnote2" name="note"></textarea>
        </div>

        <a href="#" onclick="addForm2();" class="ui-btn ui-btn-c">
            发布
        </a>
    </div>
</div>

<div data-role="page" data-control-title="Login" id="postdetail2" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            考勤详情
        </h1>
        <a href="#luntanpage2" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <p id="timeuplabel" style="color: red;"></p>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="kecheng">
                部门:高等数学
            </label>
            <p id="jiaoshi">会议室:2408</p>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vptitle2">
                标识:
            </label>

        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpnote2">
                内容:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpusername2">
                发布者:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate2">
                时间:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <img id="pimg2" style="width: 100%;" onclick="downloadFile();"/>

        </div>
        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate22">
                时间:
            </label>
        </div>
-->
        <p id="qddetail" style="color: red;font-size: 20px;"></p>
        <div data-role="navbar">
            <ul>
                <li><a href="javascript:refreshQdcount(1);">已考勤</a></li>
                <li><a href="javascript:refreshQdcount(2);">未考勤</a></li>
            </ul>
        </div>
        <ul id="replays2" data-role="listview" data-theme="r"  data-inset="true">

        </ul>
        <!--<form action="" id="qdform">
            <textarea id="rnote2" name="note" placeholder="考勤说明"></textarea>
            <input type="text" id="qdcode" name="qdcode" placeholder="考勤码">
            <input type="text" id="qdaddress" name="address" placeholder="考勤地址" onclick="toSelectAddressPage();">
            <div style="text-align: center;">
                <img style="width: 100%;"/>
                <a href="#" onclick="getFileInput(this);">选择图片</a>
            </div>
        </form>-->
        <div class="ui-field-contain" data-controltype="textinput">
            <label>
                考勤码:
            </label>
            <input id="fnote5" name="note" />
        </div>
        <a href="#" onclick="addReplay2();" class="ui-btn ui-btn-c">
            考勤
        </a>
        <div id="mypost2" style="display: none;">
            <a href="#" onclick="stopPost();" class="ui-btn ui-btn-e">
                停止考勤
            </a>
            <a href="#" onclick="delPosts();" class="ui-btn ui-btn-e">
                删除
            </a>
        </div>
    </div>
</div>


<div data-role="page" data-control-title="Login" id="setstatuspage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            选择备注
        </h1>
        <a onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <select name="note" id="rnote">
            <option value="缺勤" selected>缺勤</option>
            <option value="迟到">迟到</option>
        </select>
        <a href="#" onclick="saveReplayBeizhu();" class="ui-btn ui-btn-c">
            考勤
        </a>

    </div>
</div>

<div data-role="page" data-control-title="Login" id="tongjipage" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            统计列表
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="usertongji" data-role="listview" data-filter="true" data-filter-placeholder="输入关键字..." data-theme="r" data-inset="true">

        </ul>
    </div>

</div>
<div data-role="page" data-control-title="Login" id="luntanpage3" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            记录列表
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
        <a href="#" onclick="toAddForm3();" data-iconpos="left" class="ui-btn ui-btn-right ui-icon-plus ui-btn-icon-left">
            发布
        </a>
    </div>
    <div role="main" class="ui-content">
        <ul id="posts3" data-role="listview" data-filter="true" data-filter-placeholder="输入关键字..." data-theme="r" data-inset="true">

        </ul>
    </div>

</div>

<div data-role="page" data-control-title="Login" id="addformpage3" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            发布
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <form action="" id="luntanform3">
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    标题:
                </label>
                <input id="ftitle3" name="title" type="text">
            </div>
            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    时间:
                </label>
                <input id="ptitle" name="ptitle" type="datetime-local">
            </div>


            <div class="ui-field-contain" data-controltype="textinput">
                <label>
                    内容:
                </label>
                <textarea id="fnote3" name="note"></textarea>
            </div>
            <!--<div class="ui-field-contain" data-controltype="textinput">
                <label>
                    剩余金额:
                </label>
                <input id="latitude" name="latitude" type="text">
            </div>-->
        </form>


        <a href="#" onclick="addForm3();" class="ui-btn ui-btn-c">
            发布
        </a>
    </div>
</div>

<div data-role="page" data-control-title="Login" id="postdetail3" data-theme="r">
    <div data-role="header" data-position="fixed" data-tap-toggle="false" data-theme="r">
        <h1 class="ui-title">
            查看
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vptitle3">
                标题:
            </label>

        </div>

        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpnote3">
                内容:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpusername3">
                发布者:
            </label>
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate3">
                时间:
            </label>
        </div>
        <!--<div class="ui-field-contain" data-controltype="textinput">
            <label id="vpdate33">
                时间:
            </label>
        </div>-->


        <div id="mypost3" style="display: none;">
            <a href="#" onclick="delPosts();" class="ui-btn ui-btn-e">
                删除
            </a>
        </div>
    </div>
</div>




<div data-role="page" data-position="fixed" data-theme="r" id="mappage">
    <div data-role="header"  data-theme="d">
        <h1 class="ui-title">
            地图显示
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content" style="padding: 0;margin: 0;">
        <input id="ndate" type="date">
        <button onclick="searchLine();">显示轨迹</button>
        <div id="allmap" style="height: 510px;position: relative;"></div>
    </div>
</div>

<div data-role="page" data-position="fixed" data-theme="r" id="searchpage">
    <div data-theme="r" data-role="header">
        <h1 class="ui-title" id="titlebar">
            搜索目的地
        </h1>
        <a href="#" onclick="goback();" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
    <div role="main" class="ui-content">
        <div class="ui-field-contain" data-controltype="textinput">
            <input id="search" type="text" placeholder="输入地址...">
        </div>
        <div class="ui-field-contain" data-controltype="textinput">
            <button onclick="toAddress();">搜索</button>
        </div>
    </div>
</div>


<div data-role="page" data-control-title="imgshow" id="imgshow">
    <div id="imgcontaner">
        <img style="width: 100%;position: absolute;top: 0px;left: 0px" id="showimg">
        <a href="#" onclick="goback();" data-icon="back" data-iconpos="left" class="ui-btn ui-btn-left ui-icon-back ui-btn-icon-left">
            返回
        </a>
    </div>
</div>
<div data-role="page" data-theme="r" id="selectaddresspage">
    <div data-theme="r" data-role="header" data-position="fixed">
        <h1 class="ui-title">
            选择地址
        </h1>
        <a onclick="toMain();" class="ui-btn ui-btn-left ui-btn-icon-left ui-icon-back">
            返回
        </a>
    </div>
    <div role="main" class="ui-content" style="margin: 0;padding: 0;">
        <iframe width="100%" height="650px" frameborder=0
                src="http://apis.map.qq.com/tools/locpicker?search=1&type=1&key=W7YBZ-6ZBCW-RLBRW-OWWPF-AAJQO-POBJ4&referer=myapp">
        </iframe>
    </div>

</div>
</body>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
<script charset="utf-8" src="http://map.qq.com/api/js?v=2.exp&key=W7YBZ-6ZBCW-RLBRW-OWWPF-AAJQO-POBJ4&libraries=place,convertor"></script>
<script type="text/javascript" src="../cordova/cordova.js"></script>
<script type="text/javascript" src="cordovatool/cordovatools.js"></script>
</html>
